package szcg.framework.library.config.constant;

import java.util.HashMap;

public interface DBConfig {

    //数据库1配置
    HashMap<String, String> ds1 = new HashMap<>() {
        {
            //正式环境
            //put("url", "jdbc:mysql://172.26.1.16:3306/szcg_db?useSSL=true&serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8");
            //put("Username", "root");
            //put("Password", "hm@Test147369");
            //put("DriverClassName", "com.mysql.cj.jdbc.Driver");

            //测试环境
            put("url", "jdbc:postgresql://172.26.2.95:5432/szcg_db?useSSL=true&serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8");
            put("Username", "postgres");
            put("Password", "abc123456");
            put("DriverClassName", "org.postgresql.Driver");
        }
    };

    //数据库1配置
    HashMap<String, String> ds2 = new HashMap<>() {
        {
            //正式环境
            //put("url", "jdbc:mysql://172.26.1.16:3306/szcg_db?useSSL=true&serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8");
            //put("Username", "root");
            //put("Password", "hm@Test147369");
            //put("DriverClassName", "com.mysql.cj.jdbc.Driver");

            //测试环境
            put("url", "jdbc:mysql://172.26.2.81:3306/quartz_db?useSSL=true&serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8");
            put("Username", "root");
            put("Password", "hm@Test147369");
            put("DriverClassName", "com.mysql.cj.jdbc.Driver");
        }
    };

}
